package cn.edu.neusoft.demo.hospital2.Dao;

import cn.edu.neusoft.demo.hospital2.pojo.Notice;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NoticeDao {
    List<Notice> getAllNotices();
    Notice getNoticeById(Integer id);
    int insert(Notice notice);
    int updateById(Notice notice);
    int deleteById(Integer id);
}